
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>公司详情</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
  
</head>
<body>

  <div class="layui-row layui-col-space15">
      
    <div class="layui-col-sm6 layui-col-md3">
      <div class="layui-card">
        <div class="layui-card-header">
          今日开盘价
        </div>
        <div class="layui-card-body layuiadmin-card-list">
          <p class="layuiadmin-big-font" id="today_open">6.96</p>
        </div>
      </div>
    </div>

    <div class="layui-col-sm6 layui-col-md3">
      <div class="layui-card">
        <div class="layui-card-header">
          昨日收盘价 
        </div>
        <div class="layui-card-body layuiadmin-card-list">
          <p class="layuiadmin-big-font" id="yesterday_close">6.94</p>
        </div>
      </div>
    </div>

    <div class="layui-col-sm6 layui-col-md3">
      <div class="layui-card">
        <div class="layui-card-header">
         今日最高价
        </div>
        <div class="layui-card-body layuiadmin-card-list">
          <p class="layuiadmin-big-font" id="today_higest">7.2</p>
          
        </div>
      </div>
    </div>

    <div class="layui-col-sm6 layui-col-md3">
      <div class="layui-card">
        <div class="layui-card-header">
          今日最低价
        </div>
        <div class="layui-card-body layuiadmin-card-list">
          <p class="layuiadmin-big-font" id="today_lowest">6.95</p>
          
        </div>
      </div>
    </div>
    

  <div class="layui-fluid">
    <div class="layui-row layui-col-space15">
      <div class="layui-col-md12">
        <div class="layui-card">
          <div class="layui-card-header">公司详细信息</div>
          <div class="layui-card-body" pad15>

            
            <div class="layui-form" lay-filter="">
              
              <div class="layui-form-item">
                <label class="layui-form-label">公司名称</label>
                <div class="layui-input-inline">
                  <input type="text" id="com_name" value="TCL科技集团股份有限公司" readonly class="layui-input">
                </div>
                
              </div>
              
              <div class="layui-form-item">
                <label class="layui-form-label">公司地址</label>
                <div class="layui-input-inline">
                  <input type="text" size="30" id="com_address" value="广东省惠州市仲恺高新区惠风三路17号TCL科技大厦" readonly class="layui-input">
                </div>
                
              </div>

              <div class="layui-form-item">
                <label class="layui-form-label">上市交易所</label>
                <div class="layui-input-inline">
                  <input type="text" id="com_listed_market" value="深圳证券交易所" readonly class="layui-input">
                </div>
                
              </div>

              <div class="layui-form-item">
                <label class="layui-form-label">上市时间</label>
                <div class="layui-input-inline">
                  <input type="text" id="com_listed_time" value="2004-01-30" readonly class="layui-input">
                </div>
                
              </div>

              <div class="layui-form-item">
                <label class="layui-form-label">上市初价格</label>
                <div class="layui-input-inline">
                  <input type="text" id="com_listed_price" value="4.26" readonly class="layui-input">
                </div>
                
              </div>

              <div class="layui-form-item">
                <label class="layui-form-label">创建时间</label>
                <div class="layui-input-inline">
                  <input type="text" id="com_established_time" value="2002-04-19" readonly class="layui-input">
                </div>
                
              </div>

              <div class="layui-form-item">
                <label class="layui-form-label">注册资本</label>
                <div class="layui-input-inline">
                  <input type="text" id="com_sign_captical"value="1403080.0"  readonly class="layui-input">
                </div>
                
              </div>
              
              <div class="layui-form-item">
                <label class="layui-form-label">机构类型</label>
                <div class="layui-input-inline">
                  <input type="text" id="com_org_type" value="其它" readonly class="layui-input">
                </div>
                
              </div>

              <div class="layui-form-item">
                <label class="layui-form-label">组织形式</label>
                <div class="layui-input-inline">
                  <input type="text" id="com_org_form" value="民营企业" readonly class="layui-input">
                </div>
                
              </div>

              <div class="layui-form-item">
                <label class="layui-form-label">公司电话</label>
                <div class="layui-input-inline">
                  <input type="text" id="com_number" value="0755-33311666" readonly class="layui-input">
                </div>
                
              </div>

              <div class="layui-form-item">
                <label class="layui-form-label">公司传真</label>
                <div class="layui-input-inline">
                  <input type="text" id="com_fax" value="0755-33313819" readonly class="layui-input">
                </div>
                
              </div>
              
              <div class="layui-form-item">
                <label class="layui-form-label">公司邮箱</label>
                <div class="layui-input-inline">
                  <input type="text" id="com_email"value="ir@tcl.com"  readonly class="layui-input">
                </div>
                
              </div>

              <div class="layui-form-item">
                <label class="layui-form-label">网址</label>
                <div class="layui-input-inline">
                  <input type="text" id="com_web" value="http://www.tcl.com" readonly class="layui-input">
                </div>
                
              </div>

              <div class="layui-form-item">
                <label class="layui-form-label">邮政编码</label>
                <div class="layui-input-inline">
                  <input type="text" id="com_post_code" value="516001" readonly class="layui-input">
                </div>
      
              </div>

              
                
              </div>
            </div>
            
          </div>
        </div>
      </div>
    </div>
  </div>
  <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.js"></script>
  <script src="../../../layuiadmin/layui/layui.js"></script>  
 
  <script>
  layui.config({
    base: '../../../layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'set']);

  var com_name = sessionStorage.getItem("com_name");
 
  document.getElementById('today_open').innerHTML = data.today_open;
              document.getElementById('yesterday_close').innerHTML = data.yesterday_close;
              document.getElementById('today_higest').innerHTML = data.today_higest;
              document.getElementById('today_lowest').innerHTML = data.today_lowest;
              document.getElementById('com_name').value = data.com_name;
              document.getElementById('com_address').value = '广东省惠州市仲恺高新区惠风三路17号TCL科技大厦';
              document.getElementById('com_listed_market').value = data.com_listed_market;
              document.getElementById('com_listed_time').value = data.com_listed_time;
              document.getElementById('com_listed_price').value = data.com_listed_price;
              document.getElementById('com_established_time').value = data.com_established_time;
              document.getElementById('com_sign_captical').value = data.com_sign_captical;
              document.getElementById('com_org_type').value = data.com_org_type;
              document.getElementById('com_org_form').value = data.com_org_form;
              document.getElementById('com_number').value = data.com_number;01
              document.getElementById('com_fax').value = data.com_fax;
              document.getElementById('com_email').value = data.com_email;
              document.getElementById('com_web').value = data.com_web;
              document.getElementById('com_post_code').value = data.com_post_code;
  $.ajax({  
        type: "POST",  
        contentType:"application/json",
        url: "http://10.1.0.1:1141/more", 
        data:{com_name:"com_name"},
        success: function(data){ 
        var a = JSON.parse(data);
        console.log(data) ;
              /**/
            }  
        }) ; 
  
  
  </script>
</body>
</html>